// // Copyright (c) 2009 All Right Reserved // // vl // // 2009-01-01 // Contains ... using LargoPanels.Abstract; using System.Text; using System.Windows.Media; namespace LargoPanels.Editor { /// /// Interact logic for Corner Cell. /// public class CornerCell : BaseCell { /// /// Initializes a new instance of the class. /// /// The given master. public CornerCell(EditorSpace givenMaster) : base(givenMaster) { } /// Gets or sets the formatted text. /// The formatted text. public override FormattedText FormattedText() { var sb = new StringBuilder(); sb.AppendFormat("{0}\n", "Corner"); var ft = AbstractText.Singleton.FormatText(sb.ToString(), (int)this.Width - SeedSize.BasicMargin); return ft; } } }